<template>
  <div>
    sync
    <button @click="$emit('update:name', 'kobe')">update</button>
    <button @click="$emit('update:age', 10)">update age</button>
  </div>
</template>

<script>
  export default {
    name: "syncDemo"
  }
</script>

<style scoped>

</style>
